<template>
  <div>
    <!------------  客服服务评价表  ------------>
        <el-table :data="customerServiceEvaluationList1"
                  style="width: 100%">
          <el-table-column prop="customerServiceEvaluationId"
                           label="评价编号"
                           width="200">
          </el-table-column>
          <el-table-column prop="customerServiceEvaluationMessage"
                           label="评价满意度"
                           width="200">
          </el-table-column>
          <el-table-column prop="evaluateLevelId"
                           label="评价等级ID"
                           width="200">
          </el-table-column>
          <!-- <el-table-column prop="serviceStaffId"
                           label="客服ID"
                           width="200">
          </el-table-column> -->
          <el-table-column prop="userId"
                           label="用户ID"
                           width="200">
          </el-table-column>
          <el-table-column prop="customerServiceEvaluationDesc"
                           label="备注"
                           width="200">
          </el-table-column>
        </el-table>
  </div>
</template>

<script>
export default {
  data() {
    return {
        customerServiceEvaluationList1:[],
    };
  },
  methods: {
    loadEvaluation(){
        this.$axios.get("serviceEvaluation/")
      .then(res=>{
        this.customerServiceEvaluationList1 = res.data.data.customerServiceEvaluationList1;
      })
    },
  },
  created(){
    // this.staffId = JSON.parse(sessionStorage.getItem("staffId"));
    this.loadEvaluation()
  }
};
</script>